﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Yokagames.Models;

namespace Yokagames.Controllers.Infrastructure
{/// <summary>
/// 数据上下文类
/// </summary>
    public class WebMVCContext:DbContext
    {
        public WebMVCContext(DbContextOptions<WebMVCContext> options) : base(options) { }
        
        public DbSet<Games> Gamess { get; set; }//Games类映射数据库
    }
}
